from django.views.generic.simple import redirect_to
from django.conf.urls.defaults import patterns, include, url

urlpatterns = patterns('dessert_house.backend.views',
    url(r'^signin$', 'signin'),
    url(r'^signout$', 'signout'),
    url(r'^$', redirect_to, {'url': '/backend/stat/member'}),
    url(r'^get-data$', 'get_data'),
    url(r'^stat/member$', 'stat_member'),
    url(r'^stat/sale$', 'stat_sale'),
    url(r'^stat/product$', 'stat_product'),
    url(r'^pred/product$', 'pred_product'),
    url(r'^pred/member$', 'pred_member'),
    url(r'^plan/add$', 'plan_add'),
    url(r'^plan/weekly$', 'plan_weekly'),
    url(r'^plan/daily$', 'plan_daily'),
)
